import request from '@/utils/request'


export function postMail(data) {
    return request({
      url: "/result/postmail",
      method: 'post',
      data
    })
}

export function findAllList(data) {
    return request({
      url: "/testCollection/list",
      method: 'post',
      data
    })
}



export function findAllCaseList(data) {
    return request({
      url: "/case/list",
      method: 'post',
      data
    })
}

export function addCollectionPost(data) {
    return request({
      url: "/testCollection/add",
      method: 'post',
      data
    })
}

export function deletelistAxios(data) {
    return request({
      url: "/testCollection/delete",
      method: 'post',
      data
    })
}


export function executeAxios(id) {
    return request({
      url: `/testCollection/execute/${id}`,
      method: 'get'
    })
}

export function resultListAxios(data) {
  return request({
    url: "/autoCollectionResult/list",
    method: 'post',
    data
  })
}